Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update propeller sharding docs - types needs to be capitalized #5860

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cpaulik
Copy link
Contributor

@cpaulik cpaulik commented Oct 18, 2024

Why are the changes needed?

Using the lowercase version of e.g. project the following error is raised by flytepropeller-manager

level=error msg="\n\n1 error(s) decoding:\n\n* cannot parse 'shard.type' as int: strconv.ParseInt: parsing \"project\": invalid syntax"

How was this patch tested?

Tested uppercase Project in our Flyte deployment. I did not test the uppercase Domain option. That one is just an assumption based on the need to uppercase Hash and Project.

Using the lowercase version of e.g. `project` the following error is raised by
flytepropeller-manager

```
level=error msg="\n\n1 error(s) decoding:\n\n* cannot parse 'shard.type' as int: strconv.ParseInt: parsing \"project\": invalid syntax"
```

Signed-off-by: Christoph Paulik <[email protected]>
@cpaulik cpaulik force-pushed the flytepropeller-sharding-doc-update branch from 56c3f1c to 82afb0d Compare October 18, 2024 08:35
Copy link

codecov bot commented Oct 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 34.85%. Comparing base (38af4ec) to head (82afb0d).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5860      +/-   ##
==========================================
- Coverage   36.72%   34.85%   -1.87%     
==========================================
  Files        1304     1138     -166     
  Lines      130072   121275    -8797     
==========================================
- Hits        47764    42273    -5491     
+ Misses      78138    75325    -2813     
+ Partials     4170     3677     -493     
Flag Coverage Δ
unittests-datacatalog 51.58% <ø> (ø)
unittests-flyteadmin 54.43% <ø> (ø)
unittests-flytecopilot 11.73% <ø> (ø)
unittests-flytectl ?
unittests-flyteidl 6.89% <ø> (ø)
unittests-flyteplugins 53.62% <ø> (ø)
unittests-flytepropeller 42.84% <ø> (ø)
unittests-flytestdlib 54.76% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant